﻿namespace OneWorks.Utils.Metadata.Entity
{
    using System.Collections.Generic;
    using AdoNet;
    using Interface;

    /// <summary>
    /// 数据库
    /// </summary>
    public class Database
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 数据库说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 所属表
        /// </summary>
        public List<Table> Tables { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public string DbType { get; set; }

        /// <summary>
        /// 连接字符串
        /// </summary>
        public string ConnectionString { get; set; }
    }
}